XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnddddooooCCCCooooppppyyyy - A clipboard function that deletes the
last item placed on the clipboard
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/CutPaste.h>
int XmClipboardUndoCopy (_d_i_s_p_l_a_y, _w_i_n_d_o_w)
Display * _d_i_s_p_l_a_y;
Window _w_i_n_d_o_w;
(vvvvooooiiiidddd)
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddUUUUnnnnddddooooCCCCooooppppyyyydeletes the last item placed on the
clipboard if the item was placed there by an application
with the passed _d_i_s_p_l_a_y and _w_i_n_d_o_w arguments. Any data item
deleted from the clipboard by the original call to
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddCCCCooooppppyyyy is restored. If the _d_i_s_p_l_a_yor _w_i_n_d_o_w IDs do
not match the last copied item, no action is taken, and this
function has no effect.
_d_i_s_p_l_a_y Specifies a pointer to the DDDDiiiissssppppllllaaaayyyy structure that
was returned in a previous call to XXXXOOOOppppeeeennnnDDDDiiiissssppppllllaaaayyyy or
XXXXttttDDDDiiiissssppppllllaaaayyyy.
_w_i_n_d_o_w Specifies the window ID of a widget that relates
the application window to the clipboard. The
widget's window ID can be obtained through
XXXXttttWWWWiiiinnnnddddoooowwww. The same application instance should
pass the same window ID to each clipboard function
it calls.
RRRREEEETTTTUUUURRRRNNNN
_X_m_C_l_i_p_b_o_a_r_d_S_u_c_c_e_s_s
The function was successful.
_X_m_C_l_i_p_b_o_a_r_d_L_o_c_k_e_d
The function failed because the clipboard was
locked by another application. The application can
continue to call the function again with the same
parameters until the lock goes away. This gives
the application the opportunity to ask if the user
wants to keep trying or to give up on the
operation.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddLLLLoooocccckkkk(3) and XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttCCCCooooppppyyyy(3).